package com.ten;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author ：Wqw
 * @date ：Created in 2022/12/7 15:17
 * @description：讲师启动类
 * @modified By：
 * @version:
 */
//不加会扫描它的子包和公共包
@SpringBootApplication(scanBasePackages ={"com.ten.teacher", "com.ten.security", "com.ten.common.core"})
@MapperScan(basePackages = "com.ten.teacher.dao")
@EnableFeignClients//开启openfeign的注解
public class TeacherApp {
    public static void main(String[] args) {
        SpringApplication.run(TeacherApp.class,args);
    }
}
